package com.gljx.web.service;

import com.gljx.web.Entity.BigCarData;
import com.gljx.web.Entity.Student;

import java.util.List;
import java.util.Map;

public interface StudentService {

    Map<String, Object> selectPage(int pindex, String psql, int psize);

    Map<String, Object> selectPageCount(String psql);

    void insertStudent(Student student);

    Student selectStudentById(String psql);

    int updateStudent(Student student);

    void deteleStudentByFid(String[] fid);

	List<Student> selectStudentByCon(Student student, String beginTime, String endTime);

	/**
	 * 微信通过订单号查询学生
	* @param ddno
	* @return
	* @author LiXiang  @date 2018年1月10日 上午10:54:13
	 */
	Student selectStudentByDDNO(String ddno);

    //根据身份证搜索
    List<Student> selectStudentByCfidcardno(String cfidcardno);

	void updateStudentSelective(Student student);
	
	List<Student> queryStuBySql(String psql);

	List<Student> selectStudentByFid(String string);
	
	List<Student> selectStudentByFidTiming(String string);
	
	Student selectStudentByCardidAndName(String studentCardId,String name);

	List<Student> queryStudentByPsql(String psql);

	List<BigCarData> selectBigCarData();
	/**
	 * 根据身份证号查询学员
	 * @param cerno
	 * @return
	 */
	Student queryStudentByIdCardNo(String cerno,String companyId);

	Student queryStudentByIdCardNoWx(String cerno);

	List<Student> selectTimingStudent(Student student);

	/**
	 *
	 * @param cfidcardno
	 * @param state
	 * @return
	 */
	List<Student> selectStudentByCfidcardnos(String cfidcardno, String state,String carType,String companyId);
}
